﻿<UserControl x:Class="Carrousel.Converters.MyContent"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:CarrouselPanel="clr-namespace:CarrouselPanel;assembly=CarrouselPanel" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
    <Grid x:Name="LayoutRoot">
        <CarrouselPanel:CarrouselPanel x:Name="xCarrouselPanel" Height="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto"/>
    	<Button HorizontalAlignment="Left" Margin="8,0,0,8" VerticalAlignment="Bottom" Content="&lt; 向左 " d:LayoutOverrides="Width, Height" Click="ToLeft"/>
    	<Button HorizontalAlignment="Right" Margin="0,0,8,8" VerticalAlignment="Bottom" Content=" 向右 &gt;" d:LayoutOverrides="Width" Click="ToRight"/>
    </Grid>
</UserControl>
